|
![](/i/fill.gif) |
In article <3db76db8@news.povray.org> , "Wu Yang" <wya### [at] cs wright edu>
wrote:
> In mesh.cpp, there is a Intersect_Mesh() function. In this function,
> there is a Mesh pointer and I found that Mesh->Data->Vertices is the x
> values of a triangle corners. Is that right? How can I get the x, y, z
> values of the corners?
No offense, but given the kind of questions you ask you may want to learn a
bit more C first and maybe gain experience with less complex applications
before you start looking into the POV-Ray source code.
As you should be able to see easily from the source code, Mesh->Data is
pointer to Mesh_Data_Struct and Vertices is an array of SNGL_VECT...
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |